import request from './http'

// 男生
// https://apis.netstart.cn/bcomic/GetClassPageLayout?tabId=
export function getBoyListsData(boy) {
    return request({
        url: '/bcomic/GetClassPageLayout',
        method: 'get',
        data: { 'tabId': boy }
    })
}

// 女生
// https://apis.netstart.cn/bcomic/GetClassPageLayout?tabId
export function getGirlListsdData(girl) {
    return request({
        url: `/bcomic/GetClassPageLayout`,
        method: 'get',
        data: { 'tabId': girl }
    })
}

// https://apis.netstart.cn/bcomic/GetHomeSecondaryComics?moduleId=${this.type}&pageNum=${this.page}&pageSize=20
export function getAllListsdData(obj) {
    return request({
        url: `/bcomic/GetHomeSecondaryComics?`,
        method: 'get',
        data: { 'moduleId':obj.obj.type,'pageNum':obj.obj.page,'pageSize':20 }
    })
}